export { }
interface Eat {
    eat(food: string): void
}

interface Run {
    run(): void
}

class Person implements Eat, Run {
    eat(food: string): void {
        console.log("人吃" + food)
    }
    run(): void {
        console.log("人跑")
    }
}
class Dog implements Eat, Run {
    eat(food: string): void {
        console.log("狗吃" + food)
    }
    run(): void {
        console.log("狗跑")
    }
}